package csc.fresher.dao;

import java.util.List;

import csc.fresher.entity.CustomerAccount;
import csc.fresher.entity.SavingAccount;

public interface SavingAccountDao extends CustomerAccountDao{
	public void insert(SavingAccount savingAccount);
	public void update(SavingAccount savingAccount);
	public void delete(SavingAccount savingAccount);
	
	
	public List<CustomerAccount> getAccountByState(String accountState);
	public List<CustomerAccount> getAccountByIDCardNumber(String idCardNumber);
	public List<CustomerAccount> getAccountByFirstName(String firstName);
	public List<CustomerAccount> getAccoungByPhoneNumber(String phoneNumber);
	public List<CustomerAccount> getAccountByAddress(String address);
}
